package com.yyw.bean;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "提交作业Working")
public class Working {

    @ApiModelProperty("提交作业ID")
    private Long id;

    @ApiModelProperty("班级ID")
    private Long classid;

    @ApiModelProperty("用户ID")
    private Long userid;

    @ApiModelProperty("作业ID")
    private Long homeworkid;

    @ApiModelProperty("作业内容")
    private String content;

    @ApiModelProperty("创建时间")
    private Date createtime;

    @ApiModelProperty("状态")
    private Integer state;

    @ApiModelProperty("分数")
    private Integer score;

    // *************************
    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("发布时间")
    private Date publishtime;

    @ApiModelProperty("描述")
    private String intro;

    @ApiModelProperty("用户名")
    private String username;

}
